/* 
 *   Date       Developer         Description
 *   2018-03-04 周成功      新建
 *
 *
 *   Classname:  hdjt.fdcgzztjk.M01.M0101.controller.FdcgzztjkM01M0101Controller
 *
 *   The source code contained in this listing is proprietary to
 *   ChengGong studio.
 * 
 *   Unauthorized copying, adaptation, distribution, use, or display
 *   is strictly prohibited.
 *   This software is Copyright 2018 ChengGong studio.
 */
package sdk.org.apache.shiro.G2_使用.C10_SpringBoot集成_1登录和退出.services;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.titan.core.base.BaseControllerV8;


@RestController
public class IndexController extends BaseControllerV8 {
    @RequestMapping(value = {"/"})
    public void index(HttpServletRequest request, HttpServletResponse response) throws Exception {
        //String url = VersionUtils.getUrlHasCache("S0208M0001P01");
        String url = "/login/page";
        response.sendRedirect(url);
    }
}
